<?php

class CHCAxisPlotLines extends AbstractHCObject
{
    /**
     * The color of the line. Defaults to null.
     * 
     * @param String $psColor
     */
    public function setColor($psColor)
    {
        if (CSDebug::assertHex($psColor)) return false;
        
        $this->setParam('color', $psColor);
    }
    
    
    /**
     * The position of the line in axis units. Defaults to null.
     * 
     * @param unknown_type $pnNumber
     */
    public function setValue($pnNumber)
    {
        if (CSDebug::assertNumber($pnNumber)) return false;
        
        $this->setParam('value', $pnNumber);
    }
    
    
    /**
     * The width or thickness of the plot line. Defaults to null.
     * 
     * @param $pnNumber
     */
    public function setWidth($pnNumber)
    {
        if (CSDebug::assertNumber($pnNumber, true)) return false;
        
        $this->setParam('width', $pnNumber);
    }
}

?>